/**
 * 请求参数
 */
export interface RequestParams {
  startTime: string;
  endTime: string;
  pageNum: number;
  pageSize: number;
  taskStatus: number | any;
}
export interface Params {
  pageNum: number;
  pageSize: number;
  taskId: number;
}
/**
 * 登录响应
 */
export interface LibraryPageVo {
  id?: number;
  currentMarker: number;
  endTime: string;
  libraryId: number;
  libraryName: string;
  markerRealCount: number;
  markerShouldCount: number;
  rfidRealCount: number;
  rfidShouldCount: number;
  robotId: number;
  robotNo: string;

  routeId: number;
  routeName: string;
  schedule: number;
  returnCount: number;
  startTime?: string;
  agvNo: string;
  taskStatus: number;
}
export interface bookReturn {
  id?: number;
  taskId: number;
  taskNo: string;
  bookId: number;
  bookName: string;
  rfid: string;
  bookCode: string;
  correct: number;
  realLocationId: number;
  realLocationName: string;
  createTime: string;
  shouldLocationId: number;
  shouldLocationName: string;
}

export interface ResponseData<T> {
  records: {
    id?: number | undefined;
    currentMarker: number;
    endTime: string;
    libraryId: number;
    libraryName: string;
    markerRealCount: number;
    markerShouldCount: number;
    rfidRealCount: number;
    rfidShouldCount: number;
    robotId: number;
    robotNo: string;
    routeId: number;
    routeName: string;
    schedule: number;
    returnCount: number;
    startTime?: string | undefined;
    agvNo: string;
    taskStatus: number;
  }[];
  code: number;
  data?: T;
  list?: T[];
  total?: number | bigint;
  msg: string;
}
